Fix nil bug in jboss_invoke_deploy.rb

If there is a connection timeout, the module shouldn't access the
"code" method because that does not exist.
Delete empty line
Land #2893, @wchen-r7's patch for jboss_invoke_deploy
Merge remote-tracking branch 'rapid7/master'
Merge branch 'master' into http-proxy