make some things protected so we can extend the class

Add patch request functionality