Fix for sockjs pattern