add sharedSession() support

done for [AGIOS-279](https://issues.jboss.org/browse/AGIOS-279) fixing issue https://github.com/aerogear/aerogear-ios-httpstub/issues/4