updated fix for rest client to work with https
also look for HTTP_CONTENT_MD5
rewind rack.input after read in rack request