Move env var setup to module init function
Always separate handshake + protocol requests, even when piggybacked