Adds some testing for Rex HTTP client lib

In light of PR #1476, it would be nice to have some basic, 
maintained testing on Rex's HTTP Client proto library.

My rspec fu is quite weak, of course, but this should cover the very
basic cases. There are lots of pending holes, but hey, it's a start.