Call socket.end() properly when the NetbiosSession has its own end() method called.
Enable travis-ci.