Converted http URLs to https. Implemented the HyBi WebSocket protocol. Still contains some debug stuff that needs to be cleaned up.