fix sockjsserver bridge setHook

Signed-off-by: Marek Schmidt <fregaham@gmail.com>