Removed shutdown() from socket closing.

It's not there for Windows and everything seems fine, the client doesn't shutdown either, so why should we be polite.
Fixes #537.