added udp support
added udp support
some style corrections
updated README