Added basic processing of HTTP requests

This code will need to be cleaned up and expanded upon.