Sending byte array to server.

Not testet - should work.