Close socket properly when a client disconnects

Hi!

Rocket doesn't close socket properly when a client disconnects, which prevents any new connections to be established. This commit should fix the problem and let the client to reconnect :)

This bug doesn't seem to affect WebSocket connections, since a disconnection frame is sent by browser, which closes connection earlier (in `WebSocket.readFrame()`).