TCP Support functions to deal with reply, request and connection information