Adding close() method. It abruptly closes the socket (does not bother to send a
CLOSE message prior to actually closing the socket).