SignalR/java-client — pull request #26 by elevine (2014-07-04 18:11:46+00:00)
Title: Initializing the HubConnection mHeader variable to an empty HashMap

The HubConnection mHeader variable is not initialized, so it is always null. Since it is a private variable, it is not possible to ever set the headers. To get around this, I've initialized mHeader to be an empty HashMap that gets cleared on disconnect. The unit test shows that you are now able to add headers with this change. This fixes issue #22.