Move external socket assignment code in TCPSocket to #assignSocket
Add parent argument to all three socket types' constructors

--HG--
extra : amend_source : 3572604c9f4b3c9eaee9af3bed67036042bbd66b
Added TCPServer#clientModel
Added implementation and tests for TCPServer#maxClients