Use tls conn rather than net.Conn, and add sanity check on response. Change deviceToken to hexadecimal.