Web Security

Add HSTS and basic CSP support, closes #14. Also resolved lack of
Result in RPC reply messages, closes 76.