Adds a function to bind directly on an existing UDP socket

The function was already implemented on the c++ end and linked to a corresponding python function but it was never used. I modified the bind function in order to implement it.
I also modified the c++ bind_to_udp function to match the API of UDT 4.11 which uses bind2 instead of bind when using an existing UDP socket.