Add test to make sure we don't regress Connection::encode
Override Connection::encode
Merge branch 'master' of https://github.com/andreasgal/j2me.js into optimize_Connection_encode
Use regexp instead of for loop
Merge pull request #329 from marco-c/optimize_Connection_encode

Optimize Connection::encode