Add flexible MongoDB configuration
Fix #3: Support Stomp over SockJS