fix sockjsserver bridge setHook

Signed-off-by: Marek Schmidt <fregaham@gmail.com>
Merge pull request #41 from fregaham/sockjs_bridge_hook_fix

fix sockjs bridge hook