fix tcp socket, fix readme markdown