patched for faraday 0.9 for client access