GH #246 Make CID and optional param in Service.invoke_async method

Implemented it as suggested on a comment for issue #246.

@dsuch: I tested it using a couple of custom services, but I don't know for sure if some unit tests should also be included.