Implemented bufferevent_socket_connect_hostname_hints()

* Implemented bufferevent_socket_connect_hostname_hints so that ai_flags (such as AI_ADDRCONFIG) can be specified.
* Added a simple unit test
Probably a good idea to add a check for the existence of AI_ADDRCONFIG.