Don't throw exception when socket is closed.
Add test to ensure task completes correctly when wrapper is disposed.
Merge pull request #106 from trew/socket-exception

Fix exception in SocketWrapper when WebSocketServer.Dispose() is called.