Use the RESTAdapter as the basis for both the SailsRESTAdapter and

SailsSocketAdapter to improve the consistency between the 2 adapters.