Add TCP support for server