Added on_close feature call.
Updated on_message code send data as chunks
Updated request handler to work with incomplete frames.