fix Dgram.createSocket access
type dgram.Socket events
add dgram example