Create a serializable RemoteInvocation object from the given AOP
MethodInvocation.
Can be implemented to add custom context information to the
remote invocation, for example user credentials.
Parameters: methodInvocation - the original AOP MethodInvocation object the RemoteInvocation object