Allow setting socket/tcp options for server sockets.

This patch will enable users to set options such as `SO_REUSEADDR` and `TCP_NODELAY` on new sockets that are created before being passed to the connection emitter.