Added a threded server
Fixed typo
Implemented some stuff

TODO, fix the SSL part