Protocol mismatch error fixed for ssl connections.

Fixed issue where ssl websockets would fail due to --secure not
actually being used, fixed some spelling errors that popped out to me.