Procs
proc connectToHost*(self: StreamPeerTCP; host: string; port: int64): Error {.
gcsafe, locks: 0.}proc isConnectedToHost*(self: StreamPeerTCP): bool {.
gcsafe, locks: 0.}proc getStatus*(self: StreamPeerTCP): int64 {.
gcsafe, locks: 0.}proc getConnectedHost*(self: StreamPeerTCP): string {.
gcsafe, locks: 0.}proc getConnectedPort*(self: StreamPeerTCP): int64 {.
gcsafe, locks: 0.}proc disconnectFromHost*(self: StreamPeerTCP) {.
gcsafe, locks: 0.}