Content lengths logging, select option returns index

* Added content length logging
* Added a stub for content normalization
* select_option() now returns selection and its index