tidy up http service implementation, service local