Renamed tcp_srv.erl to net_serv.erl and added throttle mechanisms to stop DOS attacks from a single ip address. All this refactoring/fixes have been done to pave the way for SSL support in the new net_serv.erl