Copy environment variables to local tmux
Added keep alive support
Use memchr instead if string.contains

This seems to fix the hung SSH session problem