doc: Add callback parameter to dgram socket.bind() and describe more details of bind()

Add callback parameter to dgram socket.bind() method;
Describe events and errors of bind();
Add error handling to the exmaple code.