fixed bug where remote clients would register with server host address instead of client host. Now with less whitespace thrashing