Coerce appropriate sockjs hooks to booleans [fixes #48]