Move the two socket classes into separate files

--HG--
rename : src/socket.h => src/tcp.h