Added rewrite middleware spec.
Added a method.
Merge branch 'master' into roman/rewrite
Added a docstring.
Use request.Host instead of request.URL.Host.
Merge pull request #11 from mailgun/roman/rewrite

Added rewrite middleware and one method.