Fixed/changed functionality on sensor event sending from android
application.

Fixed concurrency bug on UDP socket sender

Fixed JSON parsing error on server and android