Now only uses one thread + port to spawn hosting connections, rather than one thread + port per file.
Fixed incorrect updatetracker on server when there are multiple connections from the same machine.
Fixed some formatting.