Make websocket and http works together
Fixes and add comments
Merge pull request #25 from bixuehujin/websocket-http-together

Make WebSocket  and Http works together