(GOMClient) Added error domain and codes.
Added method to encapsulate creation of NSURLRequests.