Add preliminary deferred responses
Removed websocket stuff

WebSockets will be reimplemented at a later date
Clean up deferred handling
Add some deferred documentation
Fix long-poll lines test