Revert "Correctly parse remote address"

This reverts commit 30830faa49d4b5245f109428470feeab1baa580d.