add @:jsRequire to dgram.Socket
minor dgram cleanup