Refactor proxy-enabled payload handling

This fixes a couple bugs and generally cleans up the proxy option parsing code. 
Changing this to a required option and defaulting it to 127.0.0.1 instead of an empty string is causing L50 to evaluate to true and the stager to explicitly use http://127.0.0.1:8080/ as a proxy which wont be valid in most cases.