Added error handling for the TCP side of things. Fiddling with ASDoc,
might make it work soon.