BS-7379 : Enrich context into server API Impl

- Fix NPE when get HostNameMessage & UserNameMessage