added tcp stuff; need to check connection
Changed TCP to open and close connection on each message