fixed multipart messages parsing in udp (#issue 59)

Signed-off-by: Kirill Mikhailov <kirill.mikhailov@gmail.com>