Bug fixes in HTTP server and OptionActivity