add options for targets
better option parsing
fix Transport#debug() when debug mode is enabled
option parsing now fully working