Update TcpServer.h

add set/get Packet method