BZ-1067418 - Class loader problems using remote client - further jaxb enhancements

(cherry picked from commit 94e24566bdfc6003747bab9c24d7c6a0401e48ec)