fix sockjs protocol