[BZ-1035338] add timeout for UrlConnection in UrlResource
(cherry picked from commit 4506dc93eb3c2c276cb5e91c0350d283599928d2)
[BZ-1044577] implement CommandBasedWorkingMemoryEntryPoint
(cherry picked from commit 39f393ca2ef45507b45282fe642c058e015c6b40)
[BZ-1044577] don't allow to call fireUntilHalt on a persisted session