Fix bug which caused websockets run loop to exit
Merge pull request #1 from lukecyca/fix-websockets-inbound

Fix bug which caused websockets run loop to exit