Implement job queue.

Each RemoteConnection has a job queue in order to serialize the access.
Widely untested though.