[M] Change in osmo-bts[master]: Rewrite pcu_sock_write()