Should now handle multiple connections to a single server (not tested yet since I didn't have multiple machines handy)