rewritten helper functions of frame in parser.js
refactored frame and stream objects
added socket as another layer
WebSocket base class is now workable
WebSocketServer should now inherit from WebSocket
the client should now inherit from the base class
finished with cleaning up