go implementation of strest server protocol (with http)