Add guard to allow only ws and wss schemas connections