WFLY-1658 Fix handling of metadata on EJB  methods which accept arrays as parameters
Revert "Revert "Initial HTTP Upgrade support for remoting naming and EJB invocations""

This reverts commit 8fedd0f07ee2bfe8fd526e09daa84e62e0b036ce.
Fix memory leak on undeployment
JPA Memory leak plugs
Set the proxy bean manager delegate to null on undeploy