Encoding osc packets