const correct addr/path

Const corrected all functions that create/connect to sockets.

As it was the library forced casting away the const-ness from all addresses.