code review

* update codestyle
- change openssl to polarssl
- remove old code
* update 3rd part code