Add and document global variable
Use argparse for argument parsing
Use argument parsing to solicit optional port
Add Python 3 compatibility
Extract main loop
Invoke main loop as a for loop rather than a while with a break
Add support for owner (+q) and halfop (+h) modes
Adding ISUPPORT initial functionality

--HG--
extra : rebase_source : e59a24e0c9ff33c3139e761af063453a4ec91c34
Fixing PREFIX

--HG--
extra : rebase_source : d676cceaf1cc002702a57669e158b95f6c7cb00d
Support for both multiple prefixes, and ISUPPORT prefix

--HG--
extra : rebase_source : f3a22687d0e843784287dd74eed2762e6420f1a6
Fixing ISUPPORT target and such

--HG--
extra : rebase_source : 2c6fbfb7d3e3d94b867130dbc5cb401c3693aeb2
TARGMAX processing

--HG--
extra : rebase_source : dfa091ae4a4c3af838558a77953c27642bf69167
Some other types of processing

--HG--
extra : rebase_source : a8adc27c245be664cf22495dd33e297eae656f18
Adding number ISUPPORT options, so they're autoconverted to numbers

--HG--
extra : rebase_source : b7d6ebc8fb61542d90add7f4d8aae4de59f1f933
Gah, added another ISUPPORT int that isn't in the spec

--HG--
extra : rebase_source : 76f0a68b0664d634914733c2ab71264ba1237e52
Checks if value is a digit, instead. Derp

--HG--
extra : rebase_source : 7a15eb302ec3c5424b206f969ec26d4b3b183973
Fixes errors pointed out by Jason

--HG--
extra : rebase_source : aebff8ffe10edbc820e943e85fac81c2de81b4bc
Add some standard prefixes
Rename 'isupport' to 'features'. Moved feature loading to its own method.
Add a couple of default PREFIXES for backward compatibility.