added support for saving empty samples
HTTP strategy: added support for expecting status codes other than 200