Address: Add lw_addr_type and lw_addr_set_type functions

This replaces lw_addr_hint_tcp and lw_addr_hint_udp, allowing
the type to be changed after creation.