Update client.c

And fix client header of Origin, add prefix "http://" to make a valid URI, to make golang websocket server happy.