Separated response, request and httpcode from Curl control and provided tests