rtpproxy: properly handle ipv6 IPs

Close #394

(cherry picked from commit 71eb827831a10b6b78d409628aa1692b4d4edef2)