Added support for headers in SocketIORequest

Added a new constructor that accepts a `Map<String, String>` containing
extra headers to add to the `HttpPost` request.