Sample code not working with http 2.8.8

`http` 2.8.8 seems to use the `-async` option on its sockets, which `socks5` doesn't handle.
It should be handled and passed on to `socket`.