Added init with URLRequest

This lets us add any required headers to the request (e.g. Authorisation)