first run at Clientrequest object

need a reliable object class for request_raw and request_cgi so that we
can manipulate requests in a safe and sane manner. It is not a eprfect
solution, but should fix what we need for the auth work.
fix request_raw
Merge branch 'master' into feature/http/authv2

Conflicts:
	lib/rex/proto/http/client.rb
First minor cleanup sweep
Fix the way creds are passed + YARD

some ayrddocs on send_auth plus fix the wierd way i was passing creds
around
Some more YARD docs
 merge client config into opts
trying to clean up the mess from the revert
Fix winrm mixin from revert merge
put gemcache for methodsource back
last of revert-merge snaffu
Clean up pry
Merge branch 'rapid7' into dmaloney-r7-feature/http/authv2
Initial commit
Msftidy
Allow HTTP stager to work with authenticated proxies

The HttpOpenRequest function from WinINet requires the
INTERNET_FLAG_KEEP_CONNECTION flag to communicate through an
authenticated proxy.

From MSDN ( http://tinyurl.com/chwt86j ):

"Uses keep-alive semantics, if available, for the connection. This
 flag is required for Microsoft Network (MSN), NT LAN Manager (NTLM),
 and other types of authentication."

Without this flag, the HTTP stager will fail when faced with a proxy
that requires authentication. The Windows HTTPS stager does not have
this problem.

For HTTP Meterpreter to communicate through an authenticated proxy a
separate patch will need to be made to the Meterpreter source code.
This is at line 1125 of source/common/core.c in the Meterpreter source
code.

My motivation for this request is for windows/dllinject/reverse_http
to download a DLL even when faced with an authenticated proxy. These
changes accomplish this.

Test environment:

I staged a SmoothWall device with the Advanced Proxy Web Add-on. I
enabled Integrated Windows Authentication with a W2K3 DC. I verified
the HTTP stager authenticated to and communicated through the proxy
by watching the proxy access.log
Merge branch 'rapid7' into dmaloney-r7-feature/http/authv2
Whitespace
Add spec and a few fixes for set_uri
Merge branch 'feature/http/authv2' of git://github.com/dmaloney-r7/metasploit-framework into dmaloney-r7-feature/http/authv2

Conflicts:
	lib/rex/proto/http/client.rb