[bootstrap] fixed: handle __main__ module correctly
[conn.stream] fixed: avoid capturing message inside dispatch loop