Add middleware like access logging for the hapi framework