Using net rather than http for tcp connection
Removing some semi-colons