s4:wrepl_server: use tsocket_address functions to get the peer ip