 				resolvedError = NSError(domain: SPINE_API_ERROR_DOMAIN, code: response.statusCode, userInfo: nil)
 			}
 			
+			if Spine.shouldLog(.Debug, domain: .Networking) {
+				if let stringRepresentation = NSString(data: data, encoding: NSUTF8StringEncoding) {
+					Spine.logDebug(.Networking, stringRepresentation)
+				}
+			}
+			
 			callback(statusCode: response.statusCode, responseData: data, error: resolvedError)
 		}
 		

	func request(method: String, URL: NSURL, payload: NSData?, callback: HTTPClientCallback) {
		let request = NSMutableURLRequest(URL: URL)
		request.HTTPMethod = method
		
		if let payload = payload {
			request.HTTPBody = payload

*/
public class URLSessionClient: _HTTPClientProtocol {
	let urlSession: NSURLSession
	var headers: [String: String] = [:]
	
	init() {
		let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
		configuration.HTTPAdditionalHeaders = ["Content-Type": "application/vnd.api+json"]
		urlSession = NSURLSession(configuration: configuration)
	}
	
	public func setHeader(header: String, to value: String) {
		headers[header] = value
	}
	
	public func removeHeader(header: String) {
		headers.removeValueForKey(header)
	}
	
	func request(method: String, URL: NSURL, callback: HTTPClientCallback) {
