fixed ip encoding/decoding for POC-5