Update 5-10_tcp-server.asciidoc

Correct typo, function "server" -> "serve".  Also correct a few places from "method" -> "function".