Add a disconnect method to the socket_t class

...cket_t class