Pass cookie through programmatic API #41

cp => parseCookie