Fixed java 7 compilation errors & support for setting Opcodes in DNS requests