Closes socket when receiving malformed messages from client. Node-stratum now passes 20k concurrent requests with apache benchmark test.