Updating code samples

Updated notes about the helper functions and added php comments above them to explain their function. Changed the markdown so the help functions can just be copied in whole. Removed the default proxy options since this seems to be creating some confusion.