websocket: safety guard when computing the list of connections

- avoid going further if connection is null -- unlikely to happen as len
  of the list is computed before
htable: initialize the value for iterator list index
dialog: proper de-serialization of expires value for a profile
textops: fix not initialized variable for muti-part body