update license info
readme.markdown: add links to JavaScript and HTTP
readme.markdown: clean up example code
readme.markdown: cleanup API reference