Fix tcp client data sending

Actually #net.end() half-close connection and not break connection, its
needed to server implementation with 'FIN' packet waiting - anyway we
are ending connection in this method.
Merge pull request #21 from Meettya/fix_tcp_client

Fix tcp client data sending