Added host & protocol configuration. Closes #6