[minip] tidy up
[minip] remove unused declaration
[minip] support udp src port and udp broadcast
[minip] get/set addresses