TYRUS-153: Removing static map in TyrusRemoteEndpoint, related refactori...

...ng