Abstracting HTTP interface for testing.
Added page parsing and 'visit' action.