add optional http module
style correction, need to fix intellij