modules/auth_ephemeral: added OpenSSL licensing exception

(cherry picked from commit 99960be1d55df2ba4ca596c42c8e78e36dad3cf1)
modules/outbound: added OpenSSL licensing exception

(cherry picked from commit 6741c47ad75806355cd7564d419df56acc68987b)
modules/websocket: added OpenSSL licensing exception

(cherry picked from commit 661d7d3a6231713861a8a1236dd7d783113c2890)
htable: use pkg for temporary hash table slots used for reload

- free the temporary slots after reload, reported in FS#385

(cherry picked from commit 53689b55632c6208e6326f1a5f4b3c45da216f43)
htable: use system malloc for temporary allocation of hash table realod slots

- copes better with large number of slots, without a need to use shm

(cherry picked from commit 13626ccffeaa7654c58576c3d1cc417dea865ca9)
htable: free temporary slots used to reload hash table via rpc command

- use system memory for temporary slots

(cherry picked from commit f35c49085bdcc623ef45aa33a99af3265d3e6eeb)
websocket: store sub protocol value for later use in encode_and_send_ws_frame()

- the ws connection pointer can be set null if the browser closes the
  connection
- patch by Vitaliy Aleksandrov, FS#364

(cherry picked from commit 438eafc92ecf9d3b52f95c9952bc26b147fdf328)
usrloc: add user_col to the update contact query with instance

(cherry picked from commit b393656c1113eb3630470389f142c53fbc085a90)