Fixed some issues
Removed a data race
Merge branch 'pt74353630' into develop
Merge branch 'develop' of https://github.com/pubnub/go into develop