Added wsPrefix var

To accomodate usage of either web socket protocol URI scheme ws or wss.