Minor code cleaning
Added 999 status
Added JAR protocol support
Fixed a typo