Set HTTP Accept header to application/json
Tidy up connection spec