Fix for issue #487, including a regression test that checks the existence of select.poll before and after loading requests.async.