Legacy code bug fixes
Merge pull request #23 from Vegasq/dhcrelay_agent_fixes

Legacy code fixes