working on handling messages sent
reworking the request object storing method
added simple test to return messages when they are received
onmessage functionality now works for websockets