You will probably have to minimize yourself, but most of the heavy lifting of the transport code can be done in other modules:
You still have to solve the problem of the data format, but it does not depend on the transport protocol (feel free to deliver XML-RPC or JSON or any other format for these transports).
source share