Added logic for ws_update_read_state
Finished adding support for constructing the websocket frames byte-by-byte