Accelerometer for android. Stream data to server using socket