Added support for both TCP and UDP port scanning/fixed bugs.