IpAddr class needed to cast as string with long2ip

Because HHVM long2ip() recognizes argument as int