Add Principal Object into the Builer class

Permit to retrieve the authenticated user in websocket connection
Merge pull request #1172 from sdnetwork/master

Copy the Principal object of the httpservletrequest when the initial request is cloned