Moving the declaration of newctx inside the ifdef USE_WEBSOCKET block
Merge pull request #42 from fgaranda/master

Moved declaration of newctx inside the ifdef USE_WEBSOCKET block