Creating UDP socket and binding it to a port