Convert HTTP Server functions to provate and create publc accessor

Signed-off-by: Darshit Shah <darnir@gmail.com>