Removed an echo and set the constructs storeRequests default to false
Add a check for valid address before making request, moved storing of HTTP code outside of condition
added check for no value to returnHttpCode method
Added last few tests